package com.example.demo.Service;

import com.example.demo.Entity.BusinessEntity;
import com.example.demo.Entity.CustomerEntity;

import java.util.List;

public interface BusinessService {
    public List<BusinessEntity> get();

    public BusinessEntity getByAccounts(String accounts);

    public int updateByAccounts(String accounts, String username,String password,String address,String telephone,String avatar,String license,String status);

    public int addBusiness(String accounts, String username,String password,String address,String telephone,String avatar,String license);

    public int deleteBusiness(String accounts);
}
